package com.sfac.springBoot.modules.account.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @GetMapping("/loginPage")
    public String loginPage(){
        return "account/login";
    }
    @GetMapping("/registerPage")
    public String registerPage(){
        return "account/register";
    }
    @GetMapping("/account/users")
    public String usersPage(){
        return "index";
    }
    @GetMapping("/account/roleManage")
    public String editable_table(){
        return "index";
    }
}
